﻿<Window x:Class="Xpom_Xpum__Integrated_Development_Environment.View.ChooseTemplateWindowView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:res="clr-namespace:Xpom_Xpum__Integrated_Development_Environment.Resource"
        Title="{x:Static res:Resource.ChooseTemplateWindowTitle}" Height="448" Width="479"
        WindowStartupLocation="CenterOwner" ResizeMode="NoResize" Loaded="Window_Loaded" Closing="Window_Closing" ShowInTaskbar="False" StateChanged="Window_StateChanged">
    <Grid>
        <Label Content="{x:Static res:Resource.ChooseTemplateProjectTypesLabelText}" Height="26" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Margin="0,7,0,0" />
        <ListView Height="173" HorizontalAlignment="Left" Margin="0,39,0,0" Name="listView1" ScrollViewer.HorizontalScrollBarVisibility="Disabled" VerticalAlignment="Top" Width="473" ItemsSource="{Binding Templates}" SelectedIndex="0">
            <ListView.ItemsPanel>
                <ItemsPanelTemplate>
                    <WrapPanel Orientation="Vertical" />
                </ItemsPanelTemplate>
            </ListView.ItemsPanel>
            <ListView.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal" Height="22">
                        <Image Source="{Binding TemplateIcon}" />
                        <TextBlock Text="{Binding TemplateName}" TextWrapping="Wrap" Height="Auto" VerticalAlignment="Center"/>
                    </StackPanel>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
        <Grid Height="Auto" HorizontalAlignment="Left" Margin="12,228,0,0" Name="grid1" VerticalAlignment="Top" Width="438">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="5" />
                <ColumnDefinition Width="361*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="5" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Label Content="{x:Static res:Resource.ChooseTemplateProjectNameLabelText}" Grid.Row="0" Height="28" HorizontalAlignment="Left" Name="label2" VerticalAlignment="Top" />
            <Label Content="{x:Static res:Resource.ChooseTemplateProjectDirectoryLabelText}" Grid.Row="2" Height="28" HorizontalAlignment="Left" Name="label3" VerticalAlignment="Top" />
            <TextBox Grid.Column="2" Grid.Row="0" Height="23" Name="textBox1" Text="Project1" TextChanged="textBox1_TextChanged" KeyDown="textBox1_KeyDown" />
            <DockPanel Grid.Column="2" Grid.Row="2" Name="dockPanel1" LastChildFill="True">
                <Button Content="Change..." Margin="3,3,0,3" Height="23" HorizontalAlignment="Right" Name="button1" Width="67" DockPanel.Dock="Right" Click="button1_Click" />
                <TextBox HorizontalAlignment="Stretch" Height="23" Name="textBox2" Text="C:\Xpom-Xpum! Projects\Project1\" AcceptsTab="True" />
            </DockPanel>
        </Grid>
        <Button Content="{x:Static res:Resource.OkButtonText}" Height="23" HorizontalAlignment="Left" Margin="294,376,0,0" Name="button3" VerticalAlignment="Top" Width="75" Click="button3_Click" />
        <Button Content="{x:Static res:Resource.CancelButtonText}" Height="23" HorizontalAlignment="Left" Margin="375,376,0,0" Name="button2" VerticalAlignment="Top" Width="75" Click="button2_Click" />
        <Rectangle Height="54" HorizontalAlignment="Left" Margin="12,306,0,0" Name="rectangle1" Stroke="#FFF4D053" VerticalAlignment="Top" Width="438" SnapsToDevicePixels="True" ForceCursor="False" Fill="#FFFEF7D8" />
        <TextBlock Height="39" HorizontalAlignment="Left" Margin="50,315,0,0" Name="textBlock1" Text="{x:Static res:Resource.HintProjectDirectoryText}" VerticalAlignment="Top" Width="395" TextWrapping="Wrap" />
    </Grid>
</Window>
